@import "./normalize.css";

/* icon */

@import "https://at.alicdn.com/t/font_2559410_hk15f8p1thr.css?spm=a313x.7781069.1998910419.40&file=font_2559410_hk15f8p1thr.css";
@import "./element.css";
*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #ccc;
}

html,
body,
#app {
    height: 100%;
    width: 100%;
}

i {
    font-style: normal;
}

i,
tr,
.buttons div {
    cursor: pointer;
}

.buttons div {
    background-color: #fff;
}

.buttons div:hover {
    filter: brightness(0.97);
}


/*:root -> 获取根元素html*/

:root {
    --hover: #f4f4f4;
    --odd: #f9f9f9;
    --gray: #f4f4f4;
    --red: #ec4747;
    --blue: #5a8ab9;
    --purple: rgb(202, 9, 202);
    --navBg: #fdf5f5;
    --cellBg: rgb(153, 153, 153);
    --color-text: #666;
    --color-high-text: #317ffb;
    --color-tint: #51d9fb;
    --color-background: #fff;
    --font-size: 14px;
    --line-height: 1.5;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    user-select: none;
    /* 禁止用户鼠标在页面上选中文字/图片等 */
    -webkit-tap-highlight-color: transparent;
    /* webkit是苹果浏览器引擎，tap点击，highlight背景高亮，color颜色，颜色用数值调节 */
    background: var(--color-background);
    color: var(--color-text);
    /* rem vw/vh */
    width: 100vw;
}

a {
    color: var(--color-text);
    text-decoration: none;
}

li {
    list-style: none;
}

.clear-fix::after {
    clear: both;
    content: '';
    display: block;
    width: 0;
    height: 0;
    visibility: hidden;
}

.clear-fix {
    zoom: 1;
}

.flex {
    display: flex;
    align-items: center;
}

.txtover {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}